package com.hsy.crm.web.mapper;

import com.hsy.crm.web.config.CrmMapper;
import com.hsy.crm.web.domain.entity.Customer;
import com.hsy.crm.web.domain.po.customer.CustomerPagePo;
import com.hsy.crm.web.domain.po.customer.CustomerPo;
import com.hsy.crm.web.domain.vo.customer.CustomerPageVo;

import java.util.List;

public interface CustomerMapper extends CrmMapper<Customer> {

    List<CustomerPagePo> page(CustomerPageVo customerPageVo);

    CustomerPo getCustomer(Customer customer);

    List<Long> getCustomerIds(String customerId);

    int updateDebtMoney(Customer customer);

    Long checkOrder(Customer customer);

}
